// 构造方法, 属性无需定义, JavaScript会自动创建
function Person(name, age, gender, birthday) {
	this.name = name;
	this.age = age;
	this.gender = gender;
	this.birthday = birthday;

}

// 创建属性的getters/setters
Person.prototype.getName = function() {
	return this.name;
};

Person.prototype.setName = function(name) {
	this.name = name;
};

Person.prototype.getAge = function() {
	return this.age;
};

Person.prototype.setAge = function(age) {
	this.age = age;
};

Person.prototype.getGender = function() {
	return this.gender;
};

Person.prototype.setGender = function(gender) {
	this.gender = gender;
};

Person.prototype.getBirthday = function() {
	return this.birthday;
};

Person.prototype.setBirthday = function(birthday) {
	this.birthday = birthday;
};